//auto generate
using UnityEngine;
using UnityEditor;
using ZXthex.EditorUI;

public partial class TestXWindowWindow : EUIWindow
{
    
    [MenuItem("Window/CreateTestX")]
    public static void C()
    {
        var w = GetWindow<TestXWindowWindow>();
        w.Show();
    }

    private void OnEnable()
    {
        InitComponent();

        //code start here
        EditorRectTransform rt = Panel;
        if(rt.activeInHierarchy)
            rt.anchoredPosition += Vector2.up * 10;

        Debug.Log(rt.parent);

        spacial_button.onClick.AddListener(
            () => Debug.Log("xxx"));
    }
}
